package cn.com.xiaoshoujia.order.entity;

import java.util.Date;

/**
 * @Author: yangrui
 * @Description: 退款表
 * @Date: 下午4:16 2017/8/8
 */
public class Refund {
    private Long id; //bigint(20) NOT NULL AUTO_INCREMENT,
    private String orderId; //varchar(50) NOT NULL DEFAULT '',
    private Integer status; //int(2) NOT NULL DEFAULT '0' COMMENT '0 待处理，1 退款成功，2 退款失败',
    private Date createTime; //datetime DEFAULT NULL,
    private Date finishTime; //datetime DEFAULT NULL COMMENT '退款完成时间',

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    @Override
    public String toString() {
        return "Refund{" +
                "id=" + id +
                ", orderId='" + orderId + '\'' +
                ", status=" + status +
                ", createTime=" + createTime +
                ", finishTime=" + finishTime +
                '}';
    }
}
